import request from '@/utils/request.js'

export const getList = (current, limit, search) => {
  return request({
    url: '/system/operlog/list',
    method: 'GET',
    params: {
      ...search,
      current,
      limit
    },
  })
}

/**
* 获取详情数据
*/
export const getNotice = (id) => {
  return request({
    url: `/system/operlog/${id}`,
    method: 'GET',
  })
}